adding more options menu and exportprivatekeyview