res:dock:: fix app status problem.

app gets wrong status when opened.

reason:
the status is not changed after opening animation.