Made delegates for view and bluetooth