refresh view appointment when browsing tab