cmfm: Fix clear history button visibility logic

Change-Id: I736a27d63363ce7d5ddbc871a6a5d74a40794113
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>