Hide "Solve Small/Large" buttons after they have solved

I think filtering conditions in controller is not necessary and hiding submission buttons is enough.
Please merge if it seems OK.