Move the show/hide the delete button to init function() + history view