Fixed randomize on boot setting being restored

Closes #1164