added date switching in calorie calculator view