Refactor panel heading background