Update lib.php

hide the boutton 'Update compilatio analysis' when plugin is desactivate for an activity