Done with showing/hiding actions based on the selected view (closes #150).