Fix for FB128454

Replicated fix for auto-advance widget bug (auto-advance widgets are crashing due to the order of processing events).
Merge pull request #10 from dimagi/autoadvancefix

Fix for FB128454
check nullity of savedInstanceState before using
Merge pull request #11 from dimagi/GPS_time_fix

Gps time fix