Prevent solution buttons from being added multiple times.