-made autorefresh not send requests when not visible
-made RestaurantViewer.java autorefresh