Added a button instead of listening to the slider event
updated todo's