added functions to MaintenanceStat Activity