Fixed issue with profile activity and main activity