Thank you this is working. I still does not have an idea why mine is not working ? I made your example the same like mine, but again it is working, but mine does not want ?! I need to know where is my mistake.
Please check the Build setting for your project which is non functional to that which is functional, check whether they are same or not.This may be useful to know the cause of the issue.