Display repeated twice and other problems

do you have a pullup resistor on the switch ?