appends sun and moon icon appropriately