added onCreate to Activity1.