Added setCategory(CATEGORY) for intents
Added a check for whether data or category is empty