Fix #341 Systray record/stop causes stacktrace

The code now takes into account the standby toggle in addition to the
record toggle.

Signed-off-by: Thanh Ha <thanh.ha@alumni.carleton.ca>
Fix config button not working for all inputs

Signed-off-by: Thanh Ha <thanh.ha@alumni.carleton.ca>