An open pin is not a problem as long as you code it as an output near the beginning of the program.

You might try a debounce type of routine to hide false signals.