added update differences function call on pagebeforeshow (position_edit), created hour2time function