added new button for editing mode