(Android) fix crash on activity start