udated details app to use event option