MCUfriend TFT LCD pin re-assignment

In order to draw sound bar i used fillRectangle and then filled them black to redraw over them. It exhausted my nano memory and also screen do flickers whn it redraw black. How i steal more space to include IR remote library. Thanks