Added an exit button in the data view