fixed bug for checking holiday by initialising in oncreate