Perisic optimistic over Bayern stay