module: replace button by toggle button

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
module: implement toggle on/off logic

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>