Fetching category bills only once and fixing some other bugs.