Added spinner for category selection