Added navigation back to the main view