Merged actions by date functions into one

Changed the view controller slightly so that the three 'retrieve by date' functions all work off of a single array so are closer in line with the way the other functions work.