Refactor to wait for user preferences before allowing clicks