add features of click to change icon and some actions