app: Make dropped tab active

https://bugzilla.gnome.org/show_bug.cgi?id=730936
(cherry picked from commit abb2018a702adfc57831aea9ebb5c513b9c8bbbd)