Reverting onResume change; will rewrite process later. (+ 1 fixed typo)