Spark

Improved last activity recognition