Thank you for the query.
If a patient in young age (like yours) has a gallstones, surgery needs to be done. Its because sooner or later, gallstones will start to giving you the pain and can lead to acute pancreatitis
However your liver
condition is not caused by gallstones. Its rather your diet has caused both, liver problems and gallstones. And as you can see, when you improve your diet, your liver tests get back to normal. This is a very good way to help to the liver and keep it healthy.
Please avoid fatty foods, fried foods, spicy foods, alcohol and painkillers. Increase vegetables, whole grains and mineral water intake and your liver will be fine. No need to worry about it. You should also have your gallbladder
Hope this will help.