Fixed Chemical Editor button press event. It's now asynchronous and
doesn't require several clicks!