reverted adding view param to get time method
apparently that broke everything. not really sure what to do to stop app
from force closing on button press