Improve profile editing and refresh main page when returning to it via an intent