Removing edit mode