fix timer bugs on android