Cleaning up show view and show action.