Lock backspace during solving

Also removed unneeded setRetainInstanceState lines from the fragments.