Added condition not to fetch any items from server when category is selected on the home page