profile: Make the selected tab stay selected when reloading the page