Too many words - can we have a schematic please?
Have you debounced the switch inputs (if necessary?)
Are your grounds connected properly?