almost working with undo button
change adapter