Enabling End Users to Define the Behavior of Smart Objects in AAL Environments