Updated deprecated method 

addTimeInterval changed to dateByAddingTimeInterval