and can't you use webView == null or alarmManager == null as a test for firstTime?