Handling buttons moved to interupts.