Fix session duration for Android