switch year correctly in date picker