checks before showing categories or adding default text