Can I close my app and still have functional beacon?

Yes. After you set up your beacon, you can close your app and reopen it when you want to interact with the beacon.