Bug_868379:[SMS]Select all button fix in different scenarios

https://bugzilla.mozilla.org/show_bug.cgi?id=868379