I'm pretty sure you don't need to redo the puzzle each time you want to enter the security room after the first time. If you go to the area where the secret door is, is there a hand cursor or similar to allow you to enter? The button may not be relevant now.
"Bleat, Watson -- unmitigated bleat!" ~ Sherlock Holmes