Fix behaviour when changing percent completed