changed moment of declaration of variables in controls.c

Signed-off-by: Kevin <kevin@eichenbergs.info>