Oops, didn't notice you meant on a tablet ...
If you click the vertical "..." menu, you can use "add label" which
creates a blue flag with name of the label, then you can use the "<-" to
hide the side panel and the red pin disappears but the blue flag remains.