changed memory leak fix
collected 6 seperate button clicks into 1 switch case
Also started running performance testing to solve memoryleak issue