fix seek bar after reopen main activity