add: add ui for setting the expire cache interval in perferences