showing and hiding editor area when select button is selected and unselected
updated todo