apply back button trim only if length >= 7

Issue
-
if backButton text is 5 characters then "..." is added, for example if text is "Title" becomes "Title..."

Test Case
-
Make the title of a page to 5 character title, and navigate to a different page, notice that the bacButton has 5 characters + "..."

Fix
-
add another check to append "..." only `if (text.length >= 7)` this will make sure that "..." is only appended if text is 7 characters or more, and truncates at 5 characters.