Fix event list widget error
Replace deprecated functions