Added rounding to minutes
Added active layer