Fixed total_seconds() issue on Android