Fixed a bug in main activity where user could press back to avoid
creating profile