Fixed the companies and filters

Fixed the way the filters are saved and also fixed a small bug that
occurred when someone added the "visited" tab to the list of companies.