I got it fixed. The error was coming due to calling of the events in the wrong order.
Now is the moment, or NEVER!!!
Forum Rules