Adds delete previous event feature.