Adds calling showView() method when opening view