Mate, I just grabbed your code and paste in my project and it seems to be working. May be a problem in your project. Try to create a new one and paste your code. [photo][1] [1]: https://i.sstatic.net/51L6sKFH.png