Editor cleared after new button created