Initially hide empty table and hide on option change