getCategories() called onCreate