Updated to use app->after
Merge pull request #4 from binhqx/master

Updated to use app->after