fixed bug with back button and moved all bluetooth to bluetooth class