Made the edit-button toggle selector a global variable.