Refactor(Magic8Task): extract magic numbers and strings