Added preferences/progress dialog