TOGGLING BETWEEN SHOWING AND EDITING STATES