Hello I purchased a small goldfish about 2 months ago she is in a 5 gallon tank and has a filter and a heater set at 27 C. A few days ago she was acting really slow hardly moving and she seemed to have swim bladder disease so I did not feed her for a day and continued feeding her peas for about 3 days, later on I found out it was due to the temperature which used to be at 24 but was far too cold for her so I increased it to 27 and she was back to normal and super active for the next 2 days but today and yesterday I have noticed she has been sleeping a lot in short bursts but whenever she sees me she becomes super active and seems to be normal, I did a 10 percent water change yesterday. But she's been sleeping a lot in the morning but is super active later on in the day. I also started adding rock salt to her tank to reduce her stress but i'm not sure what the problem is. Also I feed her once a day (at night) a small pinch of fish flakes and sometimes mixed with peas, I mix the food in aquarium water so that it sinks and she doesn't gulp any air. Also I do not know what to do with temperature because if its too low (24 C) she starts twitching (it's not flukes) and if its to high like 27 im guessing its making her sleepy? Is there also any other way I could improve the way I take care of her if i'm making any mistakes? Can someone please help me out, thank you.