Cleaning of main actvity