Added Global Date value and fixed issues with day advance button