change constants to enum

only a small fix

incoming testrun: https://jenkins.catrob.at/job/Catroid-Multi-Job-Custom-Branch/761/