Callbacks for buttons on right side added, still some crashing issues.