Fixed possible crash in Profile fragment