finalizes loading icon