Custom preferences for number range and steps input.

Also ignore number format exceptions in custom study input to avoid
crashing the application.
Deck options XML formatting