Make constants final

Constants should be marked as final. Here two constant values are used as enumerations of possible states, but are not declared final. This is bad practice, as it would allow the programmer to do stupid things like change the meaning of the current state, which could lead to errors.
Merge pull request #23 from Sardtok/patch-2

Make constants final