start server button and close server button add action listener.