removed edit mode button declaration