Added button mode option to configure what external button does
Added option to start as daemon