improved swapcaps to refresh xcape as well