Fixed an issue with the View button