app crashed when date picker clicked