adding back the edit icon in the main window