Changes in methods markButtonDown and Up. Still not finished