make category key work if the app_id is null
Merge pull request #6 from joequant/pull-request

make category key work if the app_id is null