Problem 3 solved.
Problem 4 solved. Buttons not working.