add reset and refresh buttons