added option to record only once instead of continuously to settings