implementat solve event button