Redesign of a rehabilitation tool for hip patients based on patient profiling