Added inactive icon and fixed build bug