Move init at end and check status only in event handler