added refresh and pause buttons