Fix select all functionality, using obsolete attr for clicked

Issue #128