add dropdown selector button for admin in dashboard for restaurant status
fix deprecation warning