Hook up the replication enabled checkbox.

Due to a forgotten merge this checkbox doesn't actually
do anything.

Ticket: #3899