set targetSdkVersion=10 to display legacy overflow button on newer devices and to be consistent with project.properties
Fixed Context null pointer exception