> if (selection!=1 || selection!=2 || selection!=3)
You want && here, not ||

At the moment, you have say
selection = 1
which means you have
if ( false || true || true )

But then if you...