Setup for random -n functionality with number box toggling