Added Navigation things. Now there is a back button when checking history.