Added loading selected category from database