DId you receive any errors? Can you reproduce this issue? I can't see anything in the code that would make this happen, so I need some more details to have a look at this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
DId you receive any errors? Can you reproduce this issue? I can't see anything in the code that would make this happen, so I need some more details to have a look at this.