Workaround for Samsung phones (needs to be improved later)