adding quit button