Fix bug force-closing Android app, (using null value)