added debug keystore, refactored ArrayAdapter