Fixed save functionality of EditProfilePage