tested app menu, fixed bug on getpackagename