added seekbar to modify the frequency of automode operations