Fixed pin reading

turn on internal Pull-Up Resistor for pin input, reversed logic of
button pins reading