Disable editing after a set time- problem