She also avoided capital gains tax on her £ 45,000 profit when she sold a London flat by telling Inland Revenue it was her main home , and thus exempt - despite its being registered with the Commons as her second home .