fixed handling of app rotation (keeping current timer when rotating)