Attempts to create a thread for buttons