Bug 987022 - [System][Music] implement Media App Agent and State Manager to restore app from where it was closed