Fix bug in Solve button. Now no longer throws an event even if disabled