FAIMS-285: refactored code + updated handler logic for bluetooth manager and tracker