Worked on functions from buttons.. added refresh.