Adding class mapclear to button for calling by others