overide onRestoreInstanceState to retain data input. tested on samsung g5 successfully