Fix alignment issues in switch cases. Use reference variable in place of frequent function calls.
Fix alignment issues in switch cases. Use reference variable in place of frequent function calls.

maximberezin97/autoenroller