added listeners, created logic for week buttons, update functions