added yesterday button to sort dashboard data