Fix picker in the event detail controller
Fix picker in the event detail controller
Fix picker in the event detail controller
Update date picker function
Refactor if clause with switch
Fix bug
Refactor tabbar with defineg
Fix bug