Refactored the GUI separating insert buttons as a separate class.