Fix

1. fix bugs causing crash
2. remove the redundant done buttons from date picker