Put the xhr into its own function so it could be called easier. View Hours button is readded and works. Submit Changes button now refreshes the new data in the entries and table.