code for uploading refactored, deleted uncessesary activity class and xml, buttons for uploading can now be selected