Fix for the buttons disabling on the profile page