Thanks for providing more information.
Firstly i want to assure you that your symptoms are not related to gallbladder disease and most possible cause may include Muscloskeletal pain which results in pain under the rib cage at certain positions due to poor posture and muscular overexertion.
You should do gentle massage with muscle relaxant and apply warm compresses with a heating pad on affected area.
You should avoid strenuous activities for a while.
And take proper rest.
You can also take OTC Tylenol if you feel pain now.
Hydrate yourself with plenty of fluids.
I appreciate your dietary modifications which relieve your heartburn.
In case you feel heartburn,indigestion you should take OTC Prilosec and Metamucil.
Also eat fibre rich diet.
Whenever you eat outside,you should prefer low fat diet and also avoid caffeinated,carbonated beverages,alcohol.
If pain'll persist or get worse over the time then consult your regular doctor for further evaluation and management.
I hope I've provided the information you were seeking. If you are happy with my service, please provide a rating. If not, please let me know so l can continue to help you. Thank you.