Edit habit backend Fix