Further fixes for generated deck

Fixes validating max value for a generated deck, and grays out the
"Save" button for the new game when max value is not valid.

Authors: dbtrue, ammesonb