Although it works in Activities, the same implementation doesn't work in Fragments. Is this a known issue or is there a way to make it work? Thanks!