Fix event to read from saved settings, fix jquery bug in adding and deleteing events