StatusbarToggles: fix StringIndexOutOfBoundsException

PS2: Simplify

Change-Id: I9c571dd86e6cd4bd3ae0d43cb642e71df929c0a3
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>